home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
QENCRYPT.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
987b
|
40 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_QuickEncrypt( cString, nKey ) --> cEncryptStr
PARAMETERS:
cString : String to be encrypted.
nKey : Numeric key value for offset seed
SHORT:
Quick encryption routine (less secure, but faster).
DESCRIPTION:
_QuickEncrypt() provides a faster encryption than _Encrypt() at the expense
of being easier to decrypt. Strings encrypted with _QuickEncrypt() can
only be decoded with _QuickDecrypt().
_QuickEncrypt() returns the original string intact if an error occurs (if
nKey is not specified or is non-numeric.)
NOTE:
EXAMPLE:
t = _QuickEncrypt('ABCDEFG',55)
Result:
t = <encrypted string> if no error, or 'ABCDEFG' if nKey is invalid.
******************************************************************************/